<%@page import="com.sbl.bajw.common.PrivilegeUtil"%>
<%@page import="java.util.Calendar"%>
<%@page import="com.sbl.bajw.common.web.SessionUnit"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	String userName = SessionUnit.getUserName();
	Calendar cal = Calendar.getInstance();
	int hour = cal.get(Calendar.HOUR_OF_DAY);
	String time = "";
	hour=hour==0?24:hour;
	if(hour<12 && hour>=6){
		time = "早上好";
	}else if(12<=hour && hour<18){
		time = "下午好";
	}else if(18<=hour && hour<24){
		time = "晚上好";
	}else{
		time = "凌晨了";
	}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>群防群治管理服务平台</title>
<%@include file="../common/prama.jsp" %>
<link href="${burl }/css/main.css" type="text/css" rel="stylesheet" />
<link href="${burl }/css/map.css" type="text/css" rel="stylesheet" />
<link href="${burl }/css/grid.css" type="text/css" rel="stylesheet"/>
<link href="${burl }/css/common/menu.css" type="text/css" rel="stylesheet"/>
<link href="${burl }/css/common/dialog.css" type="text/css" rel="stylesheet"/>
<link href="${burl }/css/common/common.css" type="text/css" rel="stylesheet"/>
<link href="${burl }/css/common/widgetsGrid.css" type="text/css" rel="stylesheet"/>
<link href="${burl }/js/common/jquery/easyui/jquery.datetimepicker.css" type="text/css" rel="stylesheet"/>
<link href="${burl }/css/common/grid.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.3"></script>
<script type="text/javascript" src="http://api.map.baidu.com/library/DrawingManager/1.4/src/DrawingManager_min.js"></script>
<link rel="stylesheet" href="http://api.map.baidu.com/library/DrawingManager/1.4/src/DrawingManager_min.css" />
<script type="text/javascript" src="http://api.map.baidu.com/library/TextIconOverlay/1.2/src/TextIconOverlay_min.js"></script>
<script type="text/javascript" src="http://api.map.baidu.com/library/MarkerClusterer/1.2/src/MarkerClusterer_min.js"></script>
<script type="text/javascript" src="http://api.map.baidu.com/library/Heatmap/2.0/src/Heatmap_min.js"></script>
<script type='text/javascript' src='${burl }/js/common/jquery/jquery-1.8.2.min.js?null'></script>
<script type='text/javascript' src='${burl }/js/common/jquery/easyui/jquery.datetimepicker.js'></script>
<script type='text/javascript' src='${burl }/js/common/common.js'></script>
<script type='text/javascript' src='${burl }/js/common/widgets/widgetsGrid.js'></script>
<script type='text/javascript' src='${burl }/js/common/BaiduMapCommon.js'></script>
<script type="text/javascript" src="${burl }/js/business/modelDao.js"></script>
<script type="text/javascript" src="${burl }/js/business/map/mapIndexNew.js"></script>
<script type="text/javascript" src="${burl }/js/business/map/layer/BaseLayer.js"></script>
<script type='text/javascript' src='${burl }/js/common/widgets/managerGrid.js'></script>
</head>
<body >
<div class="header" id="header">
			<div>
				<img src="${burl }/images/top.jpg" class="top"/>
				<div id="userName" class="userName">
					<span><%=time %>:</span>&nbsp;<span><%=userName %></span>
					&nbsp;<span>|</span>&nbsp;
					
					<a id="exit_session" target='_blank' style="cursor: pointer;"><span style="color: #FFF;">注销</span></a>
				</div>
				<div class="menu" id="menu">
					<div class="tab-div">
						<ul class="tab" id="tab">
							<li tag="map" class="selected">散点</li>
							<li tag="zonggai"><a href="${burl}/view/main/map.jsp?fullid=0-1-">专题</a></li>
							<li tag="grid"><a href="${burl}/view/manager/main.jsp?action=/view/manager/Statistics.jsp">数据中心</a></li>
						</ul>
					</div>
				</div>
			</div>
		</div>
	<div class="container">
		<div class="filter" id="filter">
			<div>
				<p class="menuTitle">警务信息<a class="selectAll">全选</a></p>
				<ul style="" controller="PoliceWork" tag="jw" selected="selected" class="menuList">
				 	<li selected="selected" class="selected" tag="PoliceLayer"><span>√</span>警力</li>
				 	<li tag="CameraLayer"><span>√</span>摄像头</li>
				</ul>
			</div>
		</div>
		<div class="main" style="float: left;">
			<div id="panel_switch" class="panel_closer"></div>
			<div tag="map" id="mapDiv" class="ditu"></div>
		</div>
	</div>
</body>
</html>